#ifndef KLINE_H
#define KLINE_H

#include <QGraphicsLineItem>
#include "idraw.h"

class KLine
    : public IDraw, public QGraphicsLineItem
{
public:
    KLine();
public:
    virtual void OnLButtonDown(QGraphicsSceneMouseEvent *event);
    virtual void OnLButtonDblClk(QGraphicsSceneMouseEvent *event);
    virtual void OnLButtonUp(QGraphicsSceneMouseEvent *event);
    virtual void OnMouseMove(QGraphicsSceneMouseEvent *event);
    virtual void OnEditProperties();
    virtual void OnCancel();
    virtual void mousePressEvent(QGraphicsSceneMouseEvent *event);
};

#endif // KLINE_H
